import post from '@/common/http.js'

// 签到信息
export const getSignInfo = () => {
	return post({
		url: "api/Signin/signInInfo"
	})
}

// 签到
export const signInFun = () => {
	return post({
		url: "api/Signin/signIn"
	})
}

// 任务信息
export const getTasks = () => {
	return post({
		url: "api/Task/taskList"
	})
}

// 提交任务
export const submitTasks = (data) => {
	return post({
		url: "api/Task/rewardReceive"
	}, data)
}

//  预签到
export const preSignInFun = () => {
	return post({
		url: "api/Signin/beforeSignIn"
	})
}